package com.example.apliktec;

import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.view.View;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemSelectedListener;
import android.widget.Spinner;
import android.app.ProgressDialog;
import android.content.Intent;



public class Registrate extends Activity {

	Spinner ListaOpciones;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_registrate);
		
		 ListaOpciones = (Spinner) findViewById(R.id.spinner1);
		 ListaOpciones.setOnItemSelectedListener(new OnItemSelectedListener (){

			@Override
			public void onItemSelected(AdapterView<?> arg0, View arg1,
					int arg2, long arg3) {
				// TODO Auto-generated method stub
				
			}

			@Override
			public void onNothingSelected(AdapterView<?> arg0) {
				// TODO Auto-generated method stub
				
			}
			 
		 });
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.registrate, menu);
		return true;
	}
	
	public void onClick(View view){
		startActivity(new Intent("com.example.apliktec.Care"));
		
	}
}
